package com.piz.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;


@Entity
@Table(name = "ship_addr")
public class Ship_Addr {
	
	private Long id;
	private String addr1;
	private String addr2;
	private String city;
	private String state;
	private String fn;
	private String ln;
	private String email;
	private String mobile;
	
	
	public Ship_Addr() {
		// TODO Auto-generated constructor stub
	}


	public Ship_Addr(String addr1, String addr2, String city, String state,
			String fn, String ln, String email, String mobile) {
		this.addr1 = addr1;
		this.addr2 = addr2;
		this.city = city;
		this.state = state;
		this.fn = fn;
		this.ln = ln;
		this.email = email;
		this.mobile = mobile;
	}

	@Id
    @GeneratedValue(strategy=GenerationType.IDENTITY)
	@Column(name="id")
	public Long getId() {
		return id;
	}


	public void setId(Long id) {
		this.id = id;
	}

	@Column(name="addr1")
	public String getAddr1() {
		return addr1;
	}


	public void setAddr1(String addr1) {
		this.addr1 = addr1;
	}

	@Column(name="addr2")
	public String getAddr2() {
		return addr2;
	}


	public void setAddr2(String addr2) {
		this.addr2 = addr2;
	}

	@Column(name="city")
	public String getCity() {
		return city;
	}


	public void setCity(String city) {
		this.city = city;
	}

	@Column(name="state")
	public String getState() {
		return state;
	}


	public void setState(String state) {
		this.state = state;
	}

	@Column(name="first_name")
	public String getFn() {
		return fn;
	}


	public void setFn(String fn) {
		this.fn = fn;
	}

	@Column(name="last_name")
	public String getLn() {
		return ln;
	}


	public void setLn(String ln) {
		this.ln = ln;
	}


	/**
	 * @return the String email
	 */
	@Column(name="email")
	public String getEmail() {
		return email;
	}


	/**
	 * @param email String the email to set
	 */
	public void setEmail(String email) {
		this.email = email;
	}


	/**
	 * @return the String mobile
	 */
	@Column(name="mobile")
	public String getMobile() {
		return mobile;
	}


	/**
	 * @param mobile String the mobile to set
	 */
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	
	
	
	
	
	
	

}
